import * as type from './type'

const mutations = {
  [ type.GET_SHOP_LIST ] ( state,action ) {
    state.shop_list_data = action.payload
  },
  [ type.GET_SHOP_ADDRESS ] ( state,action ) {
    state.shop_address = action.payload
  },
  [ type.GET_SHOP_CATEGORY ] ( state,action ) {
    state.shop_category = action.payload
  },
  [ type.ADD_SHOP_LIST ] ( state,action ) {
    state.shop_list_add = action.payload
  },
  [ type.DELETE_SHOP_LIST ] ( state,action ) {
    state.shop_list_data = action.payload
  }
}


export default mutations